﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AlexandriaPressAdminDataAccessLayer;
using AlexandriaPressAdminObject;


namespace AlexandriaPressAdminBusinessLayer
{
    public class AuthorBL
    {
        public static List<AuthorInfo> viewAuthorList()
        {
            return AuthorDL.displayAll();
        }

        public static int BanAuthor(List<AuthorInfo> _authorInfo)
        {
            return AuthorDL.banAuthor(_authorInfo);
        }

        public static int SuspendAuthor(List<AuthorInfo> _authorInfo)
        {
            return AuthorDL.suspendAuthor(_authorInfo);
        }
    }
}
